<template>
  <div class="deng">
      <div class="top">
          <a href="#">选择语言</a>
          <span>需要帮助</span>
      </div>
      <div class="mi">
          <div class="you" @click="fun2()">有品</div>
          <p>欢迎登录小米有品</p>
      </div>
      <div class="center">
          <h2>小米账号登录</h2>
          <div class="phone">
              <b>+86 &nbsp; ></b>
              <input type="text" placeholder="请输入手机号">
          </div>
          <div class="tongyi">
              <input type="checkbox">
              <span>已阅读并同意小米账号 <a href="#">用户协议</a> 和 <a href="#">隐私协议</a></span>
          </div>
          <div class="xia">
              <input type="text" placeholder="下一步">
          </div>
          <p>忘记账号？</p>
          <div class="yonghu">
              <div class="lu">
                  <a href="#">用户名密码登陆</a> <span></span> <a href="#" @click="fun()">立即注册</a>
              </div>
              
              <label>-- 其他方式登录--</label>
              <div class="picture">
                  <img src="qita/55.png" alt="">
               <img src="qita/56.png" alt="">
                <img src="qita/57.png" alt="">
                 <img src="qita/58.png" alt="">
              </div>
              
          </div>

      </div>
  </div>
</template>

<script>
export default {
    methods:{
        fun(){
            this.$router.push("/zhuce")
        },
        fun2(){
            this.$router.push("/home")
        }
    }
}
</script>

<style scoped>
.deng{
    width: 100%;
    height: 100%;
      background-color: #fff;
}
.deng .top{
    height: 0.8rem;
    box-sizing: border-box;
    padding: 0.2rem;
    font-size: 0.14rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;

}
.deng .top a{
    display: inline-block;
    font-size: 0.14rem;
    color: #999;
}
.deng .top span{
    font-size: 0.14rem;
    display: inline-block;
    color: #999;
}
.deng .mi{
    width: 100%;
  
     margin: auto;
     overflow: hidden;
}
.deng .mi .you{
    width: 0.5rem;
    height: 0.5rem;
    font-size: 0.16rem;
    background-color: #876243;
    color: #fff;
    border-radius: 0.1rem;
    line-height: 0.5rem;
    margin: 0.3rem auto;
}
.deng .mi p{
    font-size: 0.14rem;
    color: #999;
}
.deng .center{
   width: 100%; 
   padding: 0.1rem;
   box-sizing: border-box;
}
.deng .center h2{
    font-size: 0.18rem;
    text-align: left;
}
.deng .center .phone{
    width: 100%;
    height: 0.6rem;
    border-radius: 0.1rem;
    background-color: #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.deng .center .phone b{
    width: 1rem;
    font-size: 0.14rem;
    display: inline-block;
    color: #000;
}
.deng .center .phone input{
    width: 2.5rem;
    height: 0.3rem;
    outline: none;
    border: none;
    background-color: transparent;
    display: inline-block;
    font-size: 0.1rem;
}
.deng .center .tongyi{
    height: 0.2rem;
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 0.2rem;
}
.deng .center .tongyi span{
    font-size: 0.12rem;
    line-height: 0.3rem;
}
.deng .center .tongyi span a{
    color: blue;
}
.deng .center .xia{
    width: 100%;
    height: 0.5rem;
    border-radius: 0.5rem;
    margin: auto;
    display: flex;
    justify-content: center;
    margin-top: 0.3rem;
}
.deng .center .xia input{
    width: 4rem;
    height: 0.5rem;
    border-radius: 0.5rem;
    border:none;
    background-color: rgba(11, 132, 255, 0.3);
    text-align: center;
    font-size: 0.14rem;
}
.deng .center .xia  ::placeholder{
     color: #fff;
}
.deng .center p{
    font-size: 0.12rem;
    line-height: 0.5rem;
    text-align: left;
    color: blue;
    text-indent: 0.2rem;

}
.deng .center .yonghu{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.deng .center .yonghu .lu{
    display: flex;
    justify-content: center;
}
.deng .center .yonghu a{
    display: inline-block;
    font-size: 0.14rem;
    color: #666;
    text-align: center;
    margin-right: 0.1rem;
}
.deng .center .yonghu label{
    font-size: 0.12rem;
    line-height: 0.8rem;
    text-align: center;
}
.deng .center .yonghu .picture{
    width: 100%;
    height: 0.34rem;
    display: flex;
    align-items: center;
    background-color: #fff;
    justify-content: space-evenly;
}
.deng .center .yonghu .picture img{
    width: 0.34rem;
    height: 0.34rem;
    display: inline-block;
}
</style>